home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / DevCon / Washington_1988 / DevCon88.1 / JimmDemos / DemoSource / vhdlr.a68 < prev    next >
Encoding:
Text File  |  1992-08-27  |  709 b   |  31 lines

  1. * vhdlr.a68 -- video interrupt handler
  2. * Copyright (c) 1988, I and I Computing and Commodore-Amiga, Inc.
  3. *
  4. * Executables based on this information may be used in software
  5. * for Commodore Amiga computers.  All other rights reserved.
  6. *
  7. * This information is provided "as is"; no warranties are made.
  8. * All use is at your own risk, and no liability or responsibility is assumed.
  9. *
  10.  
  11.  
  12. ;    intSignal() -- interrupt handler simply signals main task
  13. ;    pointer to SignalStuff arrives in A1
  14.  
  15.     public    _LVOSignal
  16.     public    _intSignal
  17.  
  18. _intSignal:
  19.  
  20.     move.l    4,a6        ; be sure about exec base
  21.  
  22.     move.l    (a1),d0        ; signal bits
  23.     move.l    4(a1),a1    ; task id
  24.  
  25.     jsr        _LVOSignal(a6)
  26.  
  27.     moveq    #0,d0        ; set Z so other handlers run
  28.     rts
  29.  
  30.     end
  31.